package com.android.views.recyclerview;

import android.content.Context;


import com.android.views.R;
import com.yds.views.adapter.BaseViewHolder;
import com.yds.views.adapter.YDSRecyclerViewCAdapter;

public class MyRecyclerViewCAdatper extends YDSRecyclerViewCAdapter<String> {

    public MyRecyclerViewCAdatper(Context context) {
        super(context);
    }

    @Override
    public int onCreateViewLayoutID(int layoutId) {
        return R.layout.adapter_mvx_item;
    }


    @Override
    public void onBindViewHolders(BaseViewHolder holder, int position) {
        holder.setText(R.id.tvNum,mList.get(position));
    }

//    @Override
//    public void onBindViewHolderX(YDSViewHolderX holder, int position) {
//        LayoutAdapterTextviewItem2Binding itemBinding = (LayoutAdapterTextviewItem2Binding) holder.itemBinding;
//        itemBinding.tvNum.setText(mList.get(position));
//    }

}
